package com.tg.app.view;

import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.RelativeLayout;

import androidx.annotation.Nullable;

import com.tg.app.R;

public class OpenNotifyMessageView extends RelativeLayout {
    private Button mButton;
    private static final String TAG = OpenNotifyMessageView.class.getSimpleName();

    public Button getButton() {
        return mButton;
    }

    public OpenNotifyMessageView(Context context) {
        super(context);
        initContentView(context);
    }

    public OpenNotifyMessageView(Context context, @Nullable AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public OpenNotifyMessageView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        initContentView(context);
    }

    private void initContentView(Context context) {
        View rootView = LayoutInflater.from(context).inflate(R.layout.activity_open_notifymessage, this, true);
        mButton = rootView.findViewById(R.id.login);
    }

}
